﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="M01_JDBView.aspx.cs" Inherits="Enterprise.UI.Web.Modules.Jihuabu.M01_JDBView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/ssec-form.css"/> 
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="toolbars">
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/index.aspx" >数据统计</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JDBView.aspx" >进度查询</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JDB.aspx" >进度管理</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_XMB.aspx" >项目管理</a>
      <a class="easyui-linkbutton"  iconCls="icon-toolbar" plain="true"  href="/Modules/Jihuabu/M01_JsCreate.aspx" >数据调用</a>
  </div>
    <div id="contents" class="ssec-form">
         <div class="ssec-group ssec-group-hasicon"><img src="../../easyui1.2.6/themes/icons/application.png" alt=""/><span>AFE进度表</span></div>
           批复时间：<asp:TextBox ID="t1" runat="server" CssClass="easyui-numberbox"></asp:TextBox>~
    <asp:TextBox ID="t2" runat="server" CssClass="easyui-numberbox"></asp:TextBox>
        AFE编号：<asp:TextBox ID="tb_afebh" runat="server" Width="50px"></asp:TextBox>所属公司：<asp:TextBox ID="tb_dw" runat="server"  Width="50px"></asp:TextBox>

         完成率：<asp:TextBox ID="tb_wcl1" runat="server" Width="30px" CssClass="easyui-numberbox"></asp:TextBox>~<asp:TextBox ID="tb_wcl2" runat="server" Width="30px" CssClass="easyui-numberbox"></asp:TextBox>

         <asp:Button ID="btn_search" runat="server" Text="查询" CssClass="button2" 
             onclick="btn_search_Click" />

        <asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" AllowPaging="True" 
                onpageindexchanging="gv_PageIndexChanging" Width="100%" >
            <Columns>
                <asp:BoundField DataField="afebh" HeaderText="AFE编号" />
                <asp:BoundField DataField="XMFL" HeaderText="分类" >
                <ItemStyle Wrap="False" />
                </asp:BoundField>
                <asp:BoundField DataField="XMMC" HeaderText="名称" />
                <asp:BoundField DataField="XMSSGS" HeaderText="所属公司" />
                <asp:BoundField DataField="afepz_my" HeaderText="AFE批复金额(千美元)" />
                <asp:BoundField DataField="afepz_jg" HeaderText="AFE批复金额(金戈)" />
                <asp:BoundField DataField="shiji_jg" HeaderText="实际完成(金戈)" />
                <asp:BoundField DataField="wcsj" HeaderText="完成时间" >
                <ItemStyle Width="80px" />
                </asp:BoundField>
                <asp:BoundField DataField="wcl" HeaderText="完成率" />
            </Columns>
            <HeaderStyle CssClass="GridViewHeaderStyle" />
                <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                <PagerTemplate>
                     <asp:Label ID="lblPage" runat="server" Text='<%# "第" + (((GridView)Container.NamingContainer).PageIndex + 1)  + "页/共" + (((GridView)Container.NamingContainer).PageCount) + "页" %> '></asp:Label>         <asp:LinkButton ID="lbnFirst" runat="Server" Text="首页"  Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>' CommandName="Page" CommandArgument="First" ></asp:LinkButton>        <asp:LinkButton ID="lbnPrev" runat="server" Text="上一页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>' CommandName="Page" CommandArgument="Prev"  ></asp:LinkButton>        <asp:LinkButton ID="lbnNext" runat="Server" Text="下一页" Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != (((GridView)Container.NamingContainer).PageCount - 1) %>' CommandName="Page" CommandArgument="Next" ></asp:LinkButton>         <asp:LinkButton ID="lbnLast" runat="Server" Text="尾页"   Enabled='<%# ((GridView)Container.NamingContainer).PageIndex != (((GridView)Container.NamingContainer).PageCount - 1) %>' CommandName="Page" CommandArgument="Last" ></asp:LinkButton>         到第<asp:TextBox 
                         runat="server" ID="inPageNum" Width="40px"></asp:TextBox>页 
                     <asp:Button ID="Button1" CommandName="go" runat="server" Text="Go" 
                         onclick="Button1_Click"  CssClass="button2"/>
                </PagerTemplate>
                <RowStyle CssClass="GridViewRowStyle" />
                <PagerSettings FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PageButtonCount="5"
                    PreviousPageText="上一页" />
        </asp:GridView>
        <div style="text-align:left;padding-top:3px;">
        </div>
   </div>
</asp:Content>
